Extension point serverKeyPair
Documentation
Extension allowing to contribute a RSA Key pair
For instance :
<serverKeyPair>
<privateKeyName>nuxeo</privateKeyName>
<privateKey>-----BEGIN PRIVATE KEY-----YOUR_KEY_HERE-----END PRIVATE KEY-----</privateKey>
<publicCertificate>-----BEGIN CERTIFICATE-----YOUR_KEY_HERE-----END CERTIFICATE-----</publicCertificate>
</serverKeyPair>
You should contribute your own key pair for your Nuxeo server. You can use OpenSSL to generate this key pair :
openssl req -newkey rsa:1024 -days 365 -nodes -x509 -keyout testkey.pem -out testkey.pem -subj '/CN=mytestkey'
openssl pkcs8 -in testkey.pem -out oauthkey.pem -topk8 -nocrypt -outform PEM
Contribution Descriptors
- Class: org.nuxeo.ecm.platform.oauth.keys.ServerKeyDescriptor